package android.content;

import java.util.ArrayList;
import java.util.List;

/**
 * @author slc
 * @date 2022/03/29 上午 11:37
 */
public class IntentFilter {
    private List<String> actionList = new ArrayList<>();

    public List<String> getActionList() {
        return actionList;
    }

    public void setActionList(List<String> actionList) {
        this.actionList = actionList;
    }

    public void addAction(String action) {
        if (this.actionList == null) {
            this.actionList = new ArrayList<>();
        }
        this.actionList.add(action);
    }
}
